<!--移动栏目-->
<div class="dialog_content">
	<form id="info_form" name="info_form" action="{:U('Items/move')}" method="post">
	<table width="100%" cellpadding="3" cellspacing="1" class="table_form">
		<tr>
		<if condition="$move eq 1">
			<th width="80">专场 :</th>
			<td>	<select class="J_cate_select mr10" data-pid="0" data-uri="{:U('ZcCate/ajax_getchilds', array('type'=>0))}" data-selected="0"></select>
			<input type="hidden" name="cate_id" id="J_cate_id" value="0" />
			 
			</td>
			<td width="90"></td>
		<else/>
			<th width="80">分类 :</th>
			<td>
			<select class="J_cate_select mr10" data-pid="0" data-uri="{:U('ItemsCate/ajax_getchilds', array('type'=>0))}" data-selected="0"></select>
			<input type="hidden" name="cate_id" id="J_cate_id" value="0" />				
			</td>
			<td width="90"></td>
		</if>
		</tr>
		
			
		<tr>
			<th width="80"></th>
			<td>
				<input type="hidden"  name="move" value="{$move}" />
				<input type="hidden"  name="ids" value="{$ids}" />
				<input type="hidden"  name="url" value="{$url}" />
			<!--	<input type="submit"  class="smt"   <if condition="$move eq 1">value="加入专场"<else/>value="批量分类"</if>>-->
			</td>
			<td></td>
		</tr>
	</table>
	</form>
</div>
<script>
$(function(){
	$('#info_form').ajaxForm({success:complate,dataType:'json'});
	function complate(result){
		if(result.status == 1){
			$.dialog.get(result.dialog).close();
			$.itaoke.tip({content:result.msg});
			window.location.reload();
		} else {
			$.itaoke.tip({content:result.msg, icon:'alert'});
		}
	}
	 $('.J_cate_select').cate_select({top_option:lang.all}); //分类联动
});
</script>
